package com.littlec.sdk.entity.messagebody;

import android.os.Parcel;
import android.os.Parcelable;

public class SMSMessageBody extends MessageBody {
	private String messageContent;
	public static final Parcelable.Creator<SMSMessageBody> CREATOR = new Parcelable.Creator() {
		public SMSMessageBody createFromParcel(Parcel paramAnonymousParcel) {
			return new SMSMessageBody(paramAnonymousParcel);
		}

		public SMSMessageBody[] newArray(int paramAnonymousInt) {
			return new SMSMessageBody[paramAnonymousInt];
		}
	};

	private SMSMessageBody(Parcel paramParcel) {
		this.messageContent = paramParcel.readString();
	}

	public void writeToParcel(Parcel paramParcel, int paramInt) {
		paramParcel.writeString(this.messageContent);
	}

	public SMSMessageBody(String message) {
		this.messageContent = message;
	}

	public String getMessageContent() {
		return this.messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public int describeContents() {
		return 0;
	}

	public String getContent() {
		return getMessageContent();
	}
}